package com.example.factory.factory.pay;

public class FactoryTest {
    public static void main(String[] args) {
        IPayFactory factory = new AliPayFactory();
        System.out.println(factory.createPayWay().pay());
    }
}
